Communication data amount measurement system

ABSTRACT

It is an object of the invention to measure a communication data volume for each service type in measuring a communication data volume in a charging process and the like. The invention comprises a plurality of measuring points  131  to  133  for measuring a communication data volume and a data relaying apparatus  120  for transmitting received data to any of the plurality of measuring points  131  to  133.  The data relaying apparatus  120  has a service-type judging means  121  for judging the service type of the received data, a measuring point determining means  122  for determining the measuring points  131  to  133  to which the data is to be transmitted based on the service type and a data transmission means  122  for transmitting the data to the measuring point thus determined, and each of the plurality of measuring points  131  to  133  has a communication data measuring means for measuring the communication data volume of the data received from the data relaying apparatus  120.

TECHNICAL FIELD

[0001] The invention relates to a communication data volume measuring system, a communication data volume measuring method, a data (e.g., packet) relaying apparatus, a data relaying method, a program, and a recording medium used in a charging process and the like.

BACKGROUND ART

[0002]FIG. 1 is a general configuration diagram of a conventional communication data volume measuring system. A conventional method for charging will now be described with reference to FIG. 1.

[0003] As shown in FIG. 1, the conventional communication data volume measuring system comprises contents servers 11, 12 that provide contents, a gateway 20, a charging (measuring) point 30, a charge server 40, and clients 51 to 53.

[0004] For example, let us assume that the contents server 11 provides contents to the client 51 through packet communication. The contents server 11 includes in a packet information such as the destination (client 51) and transmits the packet to the gateway 20. The packet transmitted to the gateway 20 is then transmitted to the charging point 30 that in turn transmits it to the client 51. The charging point 20 measures (counts) a packet level communication data volume. That is, the charging point 30 measures the communication data volume of the relayed packet in order to charge for only the relayed packet. The measured value is transmitted to the charge server 40, and the charge server 40 performs a process of charging the measured value thus received.

[0005] Referring to charge types, some charges are made to clients (end users), and others are made to servers (contents servers) in accordance with the service type. In the latter case, more specifically, charging may be made separately by each of a plurality of contents servers e.g., companies A and B or maybe made separately for each of a plurality of service types.

[0006] However, according to the conventional method of charging shown in FIG. 1, since the charging point 30 cannot interpret data at application level, it cannot identify to which service type the data of each packet belongs.

[0007] It is an object of the invention to measure the communication data volume for each service type when measuring communication data volumes in a charging process and the like.

DISCLOSURE OF INVENTION

[0008] In order to achieve the above object, the invention according to claim 1 is a communication data volume measuring system having a plurality of measuring points for measuring a communication data volume and a data relaying apparatus for receiving data and transmitting the data to any of the plurality of measuring points, the gist of the invention being the fact that the data relaying apparatus has a service-type judging means for judging the service type of the received data, a measuring point determining means for determining the measuring point to which the data is to be transmitted from among the plurality of measuring points based on the service type, and a data transmission means for transmitting the data to the determined measuring point; and the fact that each of the plurality of measuring points has a data receiving means for receiving the data from the data relaying apparatus and a communication data volume measuring means for measuring the communication data volume of the received data.

[0009] The invention according to claim 2 is an invention according to claim 1, the gist of the invention being the fact that the data relaying apparatus has a server for transmitting the data; the server has an adding means for adding an HTTP extension header indicating the service type of the data; and the service-type judging means of the data relaying apparatus judges the service type based on the HTTP extension header added to the received data.

[0010] The invention according to claim 3 is an invention according to claim 2, the gist of the invention being the fact that when the data is transmitted through a secure communication, the adding means of the server adds an HTTP extension header indicating a service type to data transmitted in response to an HTTP signal requesting the start of the secure communication.

[0011] The invention according to claim 4 is a data relaying apparatus in a communication data volume measuring system having a plurality of measuring points for measuring a communication data volume and a data relaying apparatus for receiving data and transmitting the data to any of the plurality of measuring points, the gist of the invention being the fact that the data relaying apparatus has a service-type judging means for judging the service type of the received data, a measuring point determining means for determining the measuring point to which the data is to be transmitted from among the plurality of measuring points based on the service type, and a data transmission means for transmitting the data to the determined measuring point.

[0012] The invention according to claim 5 is a data relaying apparatus for transmitting and receiving data and measuring a communication data volume, the gist of the invention being the fact that the apparatus has a service-type judging means for judging the service types of the received data, a communication data volume measuring means for measuring the communication data volume of the received data for each of the service types, and a data transmission means for transmitting the data.

[0013] The invention according to claim 6 is a communication data volume measuring method in a communication data volume measuring system having a plurality of measuring points for measuring a communication data volume and a data relaying apparatus for receiving data and transmitting the data to any of the plurality of measuring points, the gist of the invention being the fact that the method has the steps of: A) judging the service type of the received data; B) determining the measuring point to which the data is to be transmitted from among the plurality of measuring points based on the service type at the data relaying apparatus; C) transmitting the data to the determined measuring point from the data relaying apparatus; and D) measuring the communication data volume of the received data at the determined measuring point.

[0014] The invention according to claim 7 is an invention according to claim 6, the gist of the invention being the fact that it further comprises a step of E) adding an HTTP extension header indicating the service type of said data at a server transmitting said data to said data relaying apparatus,

[0015] wherein, in said step A), said data relaying apparatus judges said service type based on said HTTP extension header added to said data.

[0016] The invention according to claim 8 is an invention according to claim 7, the gist of the invention being the fact that when the data is transmitted through a secure communication, the server adds an HTTP extension header indicating a service type to data transmitted in response to an HTTP signal requesting the start of the secure communication in the step E.

[0017] The invention according to claim 9 is a data relaying method in a communication data volume measuring system having a plurality of measuring points for measuring a communication data volume and a data relaying apparatus for receiving data and transmitting the data to any of the plurality of measuring points, the gist of the invention being the fact that it has the steps of: F) judging the service type of the received data; G) determining the measuring point to which the data is to be transmitted from among the plurality of measuring points based on the service types; and H) transmitting the data to the determined measuring point.

[0018] The invention according to claim 10 is a data relaying method in a data relaying apparatus for transmitting and receiving data and measuring a communication data volume, the gist of the invention being the fact that it has the steps of: I) judging the service type of the received data; J) measuring the communication data volume of the received data for each of the service types; and K) transmitting the data.

[0019] It is the gist of the invention according to claim 11 that it is a program for causing a computer to execute the data relaying method according to claim 9 or 10.

[0020] It is the gist of the invention according to claim 12 that it is a computer-readable recording medium on which a program for causing a computer to execute the data relaying method according claim 9 or 10 is recorded.

[0021] The above inventions make it possible to perform measurement on each service type when measuring communication data volumes in a charging process and the like.

BRIEF DESCRIPTION OF THE DRAWINGS

[0022]FIG. 1 is a general configuration diagram of a conventional communication data volume measuring system;

[0023]FIG. 2 is a general configuration diagram of a communication data volume measuring system in a first embodiment of the invention;

[0024]FIG. 3 is a flow chart showing operations of a gateway of the communication data volume measuring system in the first embodiment of the invention;

[0025]FIG. 4 is a general configuration diagram of a communication data volume measuring system in a second embodiment of the invention;

[0026]FIG. 5 is a time chart showing operations of the communication data volume measuring system in the second embodiment of the invention;

[0027]FIG. 6 is a time chart showing operations of the communication data volume measuring system in the second embodiment of the invention;

[0028]FIG. 7 shows an example of an HTTP extension header used in the communication data volume measuring system in the second embodiment of the invention;

[0029]FIG. 8 is a general configuration diagram of a communication data volume measuring system in a third embodiment of the invention;

[0030]FIG. 9 is a flow chart showing operations of a gateway of the communication data volume measuring system in the third embodiment of the invention;

[0031]FIG. 10 is a time chart showing operations of the communication data volume measuring system in the third embodiment of the invention; and

[0032]FIG. 11 shows a computer-readable recording medium in which a program according to the invention is recorded.

BEST MODE FOR CARRYING OUT THE INVENTION

[0033] [Modes for Carrying out the Invention]

[0034] Embodiments of the invention will now be described in detail with reference to the drawings.

[0035] (First Embodiment)

[0036]FIG. 2 is a general configuration diagram of a communication data volume measuring system according to a first embodiment of the invention, and FIG. 3 is a flow chart showing operations of a gateway of the communication data volume measuring system according to the first embodiment of the invention. A method of charging according to the first embodiment will now be described with reference to FIGS. 2 and 3.

[0037] As shown in FIG. 2, the communication data volume measuring system according to the first embodiment of the invention comprises contents servers 111, 112 for providing contents, a gateway 120, charging points 131 to 133, a charge server 140, and clients 151 to 153. The gateway 120 has a service-type judging unit 121 and a charging point assigning unit 122.

[0038] In the present embodiment, the charging points 131 to 133 constitute a plurality of measuring points for measuring a communication data volume, and the gateway 120 constitutes a data relaying apparatus for receiving data and transmitting the data to any of the plurality of measuring points (charging points 131 to 133).

[0039] The service-type judging unit 121 constitutes a service type-judging means for judging the service type of the received data. The charging point assigning unit 122 constitutes a measuring point determining means for determining the measuring point to which the data is to be transmitted from among the plurality of measuring points (charging points 131 to 133) based on the service type thus judged and a data transmission means for transmitting the data to the measuring point thus determined.

[0040] Further, each of the plurality of charging points 131 to 133 comprises a data receiving means for receiving (capturing) the data from the data relaying apparatus (gateway 120) and a communication data volume measuring means for measuring the communication data volume of the received (captured) data.

[0041] In the present embodiment, each of the charging points 131 to 133 relays the captured data from the gateway 120 to the clients 151 to 153 without terminating an HTTP protocol.

[0042] In the present embodiment, a plurality of charging points are provided in accordance with the number of service types, and a packet is assigned by the gateway 120 according to the service type thereof.

[0043] For example, let us assume the charging point 131 to be a charging point of a first service type, the charging point 132 to be a charging point of a second service type, and the charging point 133 to be a charging point of a third service type.

[0044] For example, let us consider a case in which the contents server 111 provides contents to the client 151. The contents server 111 transmits a packet including information such as the destination (client 151) and information on the service type to the gateway 120. Referring to the method of adding the service type, for example, it may be inserted as an HTTP (Hyper Text Transfer Protocol) extension header.

[0045] An example of an HTTP extension header indicating the service type is shown in FIG. 7.

[0046]FIG. 7A shows an HTTP extension header for charging a client. In such a case, as shown in FIG. 7A, the HTTP extension header includes service type information “1” that indicates a first service type for which the client is charged.

[0047]FIG. 7B shows an HTTP extension header for the case of free of charge data. In such a case, as shown in FIG. 7B, the HTTP extension header includes service type information “3” indicating a third service type that is free of charge.

[0048]FIG. 7C shows an HTTP extension header for charging a contents server. In such a case, as shown in FIG. 7C, the HTTP extension header includes service type information “2” that indicates a second service type for which the contents server is charged. In such a case, the HTTP extension header also includes contents server information “ABC” that identifies the contents server to be charged and contents identification information “DEFGHIJK” that identifies contents provided by the contents server (e.g., an IP address and URL).

[0049] For example, data (packets) provided by the contents server 111 include HTTP response data and Push-type distribution data.

[0050] Operations of the gateway 120 of the communication data volume measuring system according to the first embodiment of the invention will now be described with reference to FIG. 3.

[0051] When the gateway 120 receives a packet (S10), the service-type judging unit 121 judges the service type of the packet (S20). The charging point assigning unit 122 transmits the received packet to the charging point associated with the service type thus judged (S30 to S50). For example, when the service-type judging unit 121 judges the service type of the packet to be of the second service type, the packet is transmitted to the charging point 132.

[0052] The charging points 131 to 133 measure packet level communication data volumes. Specifically, the charging points 131 to 133 measure the communication data volumes of packets that they have relayed in order to charge for the relayed packets. Measured values are transmitted to the charge server 140, and the charge server 140 performs a charging process for the measured values thus received.

[0053] The packet is transmitted to the client 151 via any of the charging points 131 to 133.

[0054] Thus, the gateway 120 determines the charging point to relay the packet in accordance with the service type. This makes it possible to measure a communication data volume for each of the service types and to charge for each of the service types.

[0055] (Second Embodiment)

[0056]FIG. 4 is a general configuration diagram of a communication data volume measuring system according to a second embodiment of the invention, and FIGS. 5 and 6 are time charts showing operations of the communication data volume measuring system according to the second embodiment of the invention. A method of charging according to the second embodiment of the invention will now be described with reference to FIGS. 4 to 6.

[0057] As shown in FIG. 4, the communication data volume measuring system according to the second embodiment of the invention comprises contents servers 211, 212, a gateway 220, charging points 231 to 233, a charge server 240, clients 251 to 253, and an application server 260. The gateway 220 has a service-type judging unit 221 and a charging point assigning unit 222.

[0058] In the present embodiment, the application server 260 constitutes a server transmitting data to a data relaying apparatus (gateway 220).

[0059] The application server 260 has an adding means for adding HTTP extension headers indicating service types of data (e.g., a first service type for which a client is to be charged, a second service type for which a contents server is to be charged, and a third service type that is free of charge data).

[0060] For example, let us consider a case in which the contents server 211 provides contents to the client 251 through the charging point 232 using packet communication (HTTP protocol).

[0061] As shown in FIG. 5, the client 251 transmits an HTTP request message to the gateway 220 to request contents (data) from the contents server 211 (S501). The HTTP request message is transferred from the gateway 220 to the application server 260 (S502) and is further transferred to the contents server 211 (S503).

[0062] The contents server 211 transmits the data requested by the HTTP request message to the application server 260 as HTTP response message (S504).

[0063] As shown in FIG. 7, the application server 260 inserts service type information of the data in an HTTP extension header of the HTTP response message and transmits the same to the gateway 220 (S505).

[0064] The gateway 220 determines the charging point 232 as the party to which the HTTP response message is to be transmitted from among the plurality of charging points 231 to 233 based on the service type information inserted in the HTTP extension header and transmits the HTTP response message to the charging point 232 thus determined (S506).

[0065] The charging point 232 relays the HTTP response message to the client 251, captures the HTTP response message, and measures the communication data volume of the captured data (S507).

[0066] When data is transmitted using an SSL (Secure Socket Layer) communication (through a secure communication), the application server 260 can add an HTTP extension header indicating a service type to data (an HTTP response message) transmitted in response to an HTTP signal (an HTTP request message (CONNECT method)) requesting the start of the SSL communication.

[0067] While the “SSL communication” is used as a secure communication according to the present embodiment, the invention is not limited to such cases, and any secure communication may be used which is started by transmitting an HTTP signal (an HTTP request message (CONNECT method)).

[0068] For example, let us consider a case in which the contents server 211 provides contents to the client 251 via the charging point 232 using SSL communication (HTTP protocol).

[0069] As shown in FIG. 6, the client 251 transmits an HTTP request message using the CONNECT method to the gateway 220 as a signal (an HTTP signal) requesting the start of the SSL communication with the contents server 211 (S601).

[0070] The HTTP request message (CONNECT method) is transferred from the gateway 220 to the application server 260 (S602). Further, the application server 260 transfers the HTTP request message (CONNECT method) to the contents server 211 (S603).

[0071] The contents server 211 transmits an HTTP response message in response to the HTTP request message (CONNECT method) (S604).

[0072] As shown in FIG. 7, the application server 260 inserts service type information of the data to be provided by the contents server 211 in an HTTP extension header of the HTTP response message transmitted in response to the signal (HTTP request message (CONNECT method)) requesting the start of the SSL communication and transmits the same to the gateway 220 (S605).

[0073] The gateway 220 determines the charging point 232 as the party to whom the HTTP response message is to be transmitted from among the plurality of charging points 231 to 233 based on the service type information inserted in the HTTP extension header of the HTTP response message and transmits the HTTP response message to the charging point 232 thus determined (S606).

[0074] Specifically, communication ports for the SSL communication are provided between the client 251 and the gateway 220, between the gateway 220 and the application server 260, and between the application server 260 and the contents server 211.

[0075] The gateway 220 routes all data packets associated with the SSL communication so that they pass through the charging point 232.

[0076] The charging point 232 relays the HTTP response message to the client 251, captures the HTTP response message, and measures the communication data volume of the captured data (S607).

[0077] At this time, the gateway 220 and the application 260 open communication ports for relaying encrypted data and only relay data until the SSL communication is disconnected. During SSL communication, since data is encrypted, it is not possible to inform of the service type using an HTTP extension header.

[0078] When upward SSL communication takes place from the client 251 to the contents server 211 (S610), the charging point 232 can identify an IP address added to a data packet associated with the SSL communication to measure a communication data volume associated with the SSL communication (S611).

[0079] When downward SSL communication takes place from the contents server 211 to the client 251 (S612), the charging point 232 can identify an IP address added to a data packet associated with the SSL communication to measure a communication data volume associated with the SSL communication (S613).

[0080] The present embodiment is different from the first embodiment in that packets are transmitted from the contents servers 211, 212 to the gateway 220 through the application server 260.

[0081] (Third Embodiment)

[0082]FIG. 8 is a general configuration diagram of a communication data volume measuring system according to a third embodiment of the invention; FIG. 9 is a flow chart showing operations of a gateway of the communication data volume measuring system according to the third embodiment of the invention; and FIG. 10 is a time chart showing operations of the communication data volume measuring system according to the third embodiment of the invention. A method of charging according to the third embodiment of the invention will now be described with reference to FIGS. 8 to 10.

[0083] As shown in FIG. 8, the communication data volume measuring system according to the third embodiment of the invention comprises contents servers 311, 312, a gateway 320, a charge server 340, and clients 351 to 353. The gateway 320 has a data probe unit 323 and a charge data collecting unit 324.

[0084] In the present embodiment, the gateway 320 includes functions of a charging point. The charge data collecting unit 324 of the gateway 320 directly communicates with the charge server 340 with regard to charges.

[0085] That is, in the present embodiment, the gateway 320 constitutes a data relaying apparatus that transmits and receives data and measures the communication data volume. The data probe unit 323 constitutes a service-type judging means for judging the service type of the received data, a communication data volume measuring means for measuring the communication data volume of the received data for each service type, and a data transmission means for transmitting data.

[0086] Operations of the gateway 120 of the communication data volume measuring system according to the third embodiment of the invention will now be described with reference to FIG. 9.

[0087] As shown in FIG. 9, when the gateway 320 receives data (a packet) addressed to a client from a contents server (S110), the data probe unit 323 relays and transmits the packet to the desired client (S120). Service type information may be deleted from the transmission this time because it is not necessarily required by the client. Further, the gateway 320 notifies the charge data collecting unit 324 of a copy of the packet.

[0088] The charge data collecting unit 324 interprets the packet volume (communication data volume) and service type of the packet received from the data probe unit 323 and combines them into information required for charging which is then notified to the charge server 340 (S130). The charge information may be collected for each service type, each user, each unit time, each content, and so on to allow the improvement of efficiency.

[0089] A method is possible in which the process of interpreting service types and packet volumes is performed at the data probe unit 323 in advance, in order to reduce the volume of data notified to the charge data collecting unit 324.

[0090] The gateway 320 may receive a packet from a contents server through an application server as in the second embodiment of the invention.

[0091] For example, let us consider a case in which the contents server 311 provides contents to the client 351 through the gateway 320 using SSL communication (HTTP protocol).

[0092] As shown in FIG. 10, the client 351 transmits an HTTP request message using the CONNECT method to the gateway 320 as a signal (an HTTP signal) requesting the start of the SSL communication with the contents server 311 (S1001).

[0093] The gateway 320 measures and stores the communication data volume of the HTTP request message (CONNECT method) (S1002) and transfers the HTTP request message (CONNECT method) to the contents server 311 (S1003).

[0094] The contents server 311 transmits an HTTP response message in response to the HTTP request message (CONNECT method) (S1004).

[0095] The gateway 320 measures the communication data volume of the HTTP response message transmitted in response to the signal (HTTP request message (CONNECT method)) requesting the start of the SSL communication (S1005) and relays and transmits the HTTP response message to the desired client 351 (S1006).

[0096] Specifically, the charge data collecting unit 324 of the gateway 320 judges the service type of the HTTP response message based on service type information inserted in an HTTP extension head of the HTTP response message and measures and stored the communication data volume of the HTTP response message for each of the service types.

[0097] The charge data collecting unit 324 of the gateway 320 can store the communication data volume of the HTTP request message (CONNECT method) measured at S1002 in association with the communication data volume of the HTTP response message.

[0098] Then, after the client 351 performs authentication and exchange of keys required for SSL communication with the contents server 311, encrypted data is transmitted and received.

[0099] At this time, the gateway 320 opens a communication port for relaying the encrypted data and only relays data until the SSL communication is disconnected. During SSL communication, since data is encrypted, a service type can not be notified using an HTTP extension header.

[0100] When upward SSL communication takes place from the client 351 to the contents server 311 (S1010), the gateway 320 can identify a communication port opened for the SSL communication to measure a communication data volume associated with the SSL communication (S1011).

[0101] When downward SSL communication takes place from the contents server 311 to the client 351 (S1012), the gateway 320 can identify a communication port opened for the SSL communication to measure a communication data volume associated with the SSL communication (S1013).

[0102] (Others)

[0103] A program for causing a computer 1115 to execute the functions of the gateway 120, 220, 320, charging points 131 to 133, 231 to 233, and the like according to the present embodiment may be recorded in a computer-readable recording medium. As shown in FIG. 11, the computer-readable recording medium may be a floppy disk 1116, a compact disk 1117, an IC chip 1118, a cassette tape 1119, or the like, for example. A program can be easily stored, transported, sold, and so on with such a computer-readable recording medium on which the program is recorded.

[0104] Although the above description has referred to cases wherein the invention is applied to a charging process by way of example, the invention may be applied to the simple measurement of a communication data volume and the like.

[0105] Industrial Applicability

[0106] As described above, the invention makes it possible to measure a communication data volume for each service type when measuring it for a charging process and the like. 

1. A communication data volume measuring system having a plurality of measuring points for measuring a communication data volume and a data relaying apparatus for receiving data and transmitting said data to any of said plurality of measuring points, wherein: said data relaying apparatus comprises: a service-type judging means for judging the service type of said received data; a measuring point determining means for determining the measuring point to which said data is to be transmitted from among said plurality of measuring points based on said service type; and a data transmission means for transmitting said data to said determined measuring point, and each of said plurality of measuring points comprises: a data receiving means for receiving said data from said data relaying apparatus; and a communication data volume measuring means for measuring the communication data volume of said received data.
 2. The communication data volume measuring system according to claim 1, wherein: a server for transmitting said data to said data relaying apparatus is provided; said server comprises an adding means for adding an HTTP extension header indicating the service type of said data; and said service-type judging means of said data relaying apparatus judges said service type based on said HTTP extension header added to said received data.
 3. The communication data volume measuring system according to claim 2, wherein, when said data is transmitted through a secure communication, said adding means of said server adds an HTTP extension header indicating said service type to data transmitted in response to an HTTP signal requesting the start of the secure communication.
 4. A data relaying apparatus in a communication data volume measuring system comprising a plurality of measuring points for measuring a communication data volume and a data relaying apparatus for receiving data and transmitting said data to any of said plurality of measuring points, including: a service-type judging means for judging the service type of said received data; a measuring point determining means for determining the measuring point to which said data is to be transmitted from among said plurality of measuring points based on said service type; and a data transmission means for transmitting said data to said determined measuring point.
 5. A data relaying apparatus for transmitting and receiving data and measuring a communication data volume, comprising: a service-type judging means for judging the service types of said received data; a communication data volume measuring means for measuring the communication data volume of said received data for each of said service types; and a data transmission means for transmitting said data.
 6. A communication data volume measuring method in a communication data volume measuring system comprising a plurality of measuring points for measuring a communication data volume and a data relaying apparatus for receiving data and transmitting said data to any of said plurality of measuring points, comprising the steps of: A) judging the service type of said received data at said data relaying apparatus; B) determining the measuring point to which said data is to be transmitted from among said plurality of measuring points based on said service type at said data relaying apparatus; C) transmitting said data to said determined measuring point from said data relaying apparatus; and D) measuring the communication data volume of said received data at said determined measuring point.
 7. The communication data volume measuring method according to claim 6, further comprising a step of: E) adding an HTTP extension header indicating the service type of said data at a server transmitting said data to said data relaying apparatus, wherein, in said step A), said data relaying apparatus judges said service type based on said HTTP extension header added to said data.
 8. The communication data volume measuring method according to claim 7, wherein, in said step E), when said data is transmitted through a secure communication, said server adds an HTTP extension header indicating said service type to data transmitted in response to an HTTP signal requesting the start of the secure communication.
 9. A data relaying method in a communication data volume measuring system comprising a plurality of measuring points for measuring a communication data volume and a data relaying apparatus for receiving data and transmitting said data to any of said plurality of measuring points, comprising the steps of: F) judging the service type of said received data; G) determining the measuring point to which said data is to be transmitted from among said plurality of measuring points based on said service type; and H) transmitting said data to said determined measuring point.
 10. A data relaying method in a data relaying apparatus for transmitting and receiving data and measuring a communication data volume, comprising the steps of: I) judging the service types of said received data; J) measuring the communication data volume of said received data for each of said service types; and K) transmitting said data.
 11. A program for causing a computer to execute the data relaying method according to claim 9 or
 10. 12. A computer-readable recording medium on which a program for causing a computer to execute the data relaying method according claim 9 or 10 is recorded. 